package com.company.project.modular.system.service;

import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.service.IService;
import com.company.project.modular.system.model.Audit;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lsf
 * @since 2018-10-30
 */
public interface IAuditService extends IService<Audit> {
    /**
     * 查询最大的buyId
     */
    List<Audit> findByMaxNumber();

    /*查询全部列表*/
    List<Map<String,Object>> list(@Param("condition") String condition);
    /*查询已通过列表*/
    List<Map<String,Object>> passList(@Param("auditPass") String auditPass);

}
